package com.ruoyi.livesass.api.convert;

import org.mapstruct.Mapper;
import com.ruoyi.livesass.api.domain.LbsGkscDay;
import com.ruoyi.livesass.api.pojo.dto.LbsGkscDayDTO;
import com.ruoyi.livesass.api.pojo.vo.LbsGkscDayVO;
import java.util.List;
/**
 * 用户每日观看时长  DO <=> DTO <=> VO / BO / Query
 *
 * @author ydb
 */
@Mapper(componentModel = "spring")
public interface LbsGkscDayConvert  {

    /**
     * @param source DO
     * @return DTO
     */
    LbsGkscDayDTO do2dto(LbsGkscDay source);

    /**
     * @param source DTO
     * @return DO
     */
    LbsGkscDay dto2do(LbsGkscDayDTO source);

    List<LbsGkscDayVO> dos2vos(List<LbsGkscDay> list);
}
